#cs ----------------------------------------------------------------------------

	$Author: bjoern.kaiser $
	$LastChangedDate: 2008-05-05 07:18:45 +0000 (Mon, 05 May 2008) $

	Script Function:
	Global Constants

#ce ----------------------------------------------------------------------------

#include-once
;~ #include ".\drvscan.au3"
;~ #include ".\wmi.au3"

Global Const $gBinDebug = 1
Global Const $gBinTest = 0
Global Const $gStrLogfile = @TempDir & "\unixp.log"
Global $gHndLog = FileOpen($gStrLogfile, 1)
Global Const $gStrSourceDrv = _drvscan_FindSource()
Global Const $gArrWmiInfo = _wmi_SysInfo()
Global Const $gStrIni = $gStrSourceDrv & "\config\unixp.ini"
Global Const $gStrSysprepInf = "C:\sysprep\sysprep.inf"
;~ Global Const $gStrPeimg = @SystemDir & "\peimg.exe"
Global Const $gStrDetectedHal = StringUpper(RegRead("HKLM\SYSTEM\CurrentControlSet\Enum\Root\ACPI_HAL\0000", "HardwareID"))
;~ Read UniXP.ini
;~ Global Const $gStrSourceImage = IniRead($gStrIni,"IMAGE","PATH","none")
;~ Global Const $gStrSpVersion = IniRead($gStrIni,"OS","SPLEVEL","none")
Global Const $gArrConfig = IniReadSection($gStrIni,"CONFIG")
Global Const $gArrImage = IniReadSection($gStrIni,"IMAGE")
Global Const $gArrOs = IniReadSection($gStrIni,"OS")
Global Const $gArrDp = IniReadSection($gStrIni,"DISKPART")
